package com.czkt.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("cart")
public class Cart {
    @TableId("cart_id")
    private long cartId;
    private long shopId;
    private long userId;
    private long skuId;
    private long carttNumber;
    private long cartPrince;


    public long getCartId() {
        return cartId;
    }

    public void setCartId(long cartId) {
        this.cartId = cartId;
    }


    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }


    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }


    public long getSkuId() {
        return skuId;
    }

    public void setSkuId(long skuId) {
        this.skuId = skuId;
    }


    public long getCarttNumber() {
        return carttNumber;
    }

    public void setCarttNumber(long carttNumber) {
        this.carttNumber = carttNumber;
    }


    public long getCartPrince() {
        return cartPrince;
    }

    public void setCartPrince(long cartPrince) {
        this.cartPrince = cartPrince;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "cartId=" + cartId +
                ", shopId=" + shopId +
                ", userId=" + userId +
                ", skuId=" + skuId +
                ", carttNumber=" + carttNumber +
                ", cartPrince=" + cartPrince +
                '}';
    }
}
